package com.forum.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.forum.pojo.ForumArticleAttachment;
import com.forum.pojo.ForumComment;
import com.forum.service.ForumArticleAttachmentService;
import com.forum.mapper.ForumArticleAttachmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 86152
* @description 针对表【forum_article_attachment(文件信息)】的数据库操作Service实现
* @createDate 2023-01-31 00:42:33
*/
@Service
public class ForumArticleAttachmentServiceImpl extends ServiceImpl<ForumArticleAttachmentMapper, ForumArticleAttachment>
    implements ForumArticleAttachmentService{
    @Autowired
    private ForumArticleAttachmentMapper forumArticleAttachmentMapper;

    @Override
    public ForumArticleAttachment selectByArticleId(String articleId) {
        ForumArticleAttachment forumArticleAttachment = forumArticleAttachmentMapper.selectByArticleId(articleId);

        return forumArticleAttachment;
    }
}




